//
//  HomePageModel.h
//  u76ho
//
//  Created by m-air-01 on 16/1/20.
//  Copyright © 2016年 LV. All rights reserved.
//

#import <Foundation/Foundation.h>
@class scrollPicModel;
@class commendActivityModel;
@class commendModel;
@class LRModel;

@interface HomePageModel : NSObject
/*
 {
 errcode = 0;
 errmsg =     {
 0 =         (
 {
 name = "Hello,World";
 pic = "Uploads/Userimg/20151225/apppic001.jpg";
 url = 123456;
 },
 {
 name = "\U76ca\U4f01\U2014\U2014\U4f60\U7684\U4e0d\U4e8c\U4e4b\U9009";
 pic = "Uploads/Userimg/20151225/apppic002.jpg";
 url = 666666;
 },
 {
 name = "\U4f18\U4f01\U4e50\U6d3b\U5f00\U62d3\U4fe1\U7528\U7ba1\U7406\U65b0\U65f6\U4ee3";
 pic = "Uploads/Userimg/20151225/apppic003.jpg";
 url = 88888888;
 }
 );
 1 =         (
 {
 0 = 11;
 1 = "Hello everyone";
 2 = "/Uploads/Userimg/20151225/user2_hd2015.jpg";
 3 = 0;
 ids = 11;
 pic = "/Uploads/Userimg/20151225/user2_hd2015.jpg";
 title = "Hello everyone";
 url = 0;
 },
 {
 0 = 1;
 1 = Welcome;
 2 = "/Public/Home/sousuo/18.jpg|/Public/Home/sousuo/17.jpg|/Public/Home/sousuo/16.png|/Public/Home/sousuo/15.jpg|/Public/Home/sousuo/14.jpg|/Public/Home/sousuo/13.jpg|/Public/Home/sousuo/12.jpg|/Public/Home/sousuo/11.jpg|/Public/Home/sousuo/10.jpg|";
 3 = 123456;
 code = 123456;
 id = 1;
 pic = "/Public/Home/sousuo/18.jpg|/Public/Home/sousuo/17.jpg|/Public/Home/sousuo/16.png|/Public/Home/sousuo/15.jpg|/Public/Home/sousuo/14.jpg|/Public/Home/sousuo/13.jpg|/Public/Home/sousuo/12.jpg|/Public/Home/sousuo/11.jpg|/Public/Home/sousuo/10.jpg|";
 title = Welcome;
 }
 );
 2 =         (
 {
 0 = 123456;
 1 = "\U76ca\U4f0120151225";
 2 = "/Uploads/Userimg/20151225/user2_logo.png";
 code = 123456;
 headpic = "/Uploads/Userimg/20151225/user2_logo.png";
 username = "\U76ca\U4f0120151225";
 },
 {
 0 = 4686;
 1 = "\U4f18\U4f01\U4e50\U6d3b2015";
 2 = "/Uploads/Userimg/20151225/user2_logo.png";
 code = 4686;
 headpic = "/Uploads/Userimg/20151225/user2_logo.png";
 username = "\U4f18\U4f01\U4e50\U6d3b2015";
 },
 {
 0 = 4685;
 1 = "\U4f18\U4f01\U4e50\U6d3b";
 2 = "/Uploads/Userimg/20151225/user2_logo.png";
 code = 4685;
 headpic = "/Uploads/Userimg/20151225/user2_logo.png";
 username = "\U4f18\U4f01\U4e50\U6d3b";
 }
 );
 3 =         {
 leftimg = "Uploads/Userimg/20151225/apppic002.jpg";
 rightimg = "Uploads/Userimg/20151225/apppic002.jpg";
 };
 };
 }

 */

@property (nonatomic,strong) NSArray * scrollPicModelArray;//第一排数据
//放的是scrollPicModel
@property (nonatomic,strong) NSArray * commendActivityModelArray;
//放的是commendActivityModel
@property (nonatomic,strong) NSArray * commendCompanyModelArray;
//放的是commendCompanyModel
@property (nonatomic,strong) LRModel * lrmodel;

@property (nonatomic,strong) NSArray * LrModelArray;//第三排数据


-(instancetype)initDic:(NSDictionary *)dic;

@end

//scrollPicModel
@interface scrollPicModel : NSObject

@property (nonatomic,strong) NSString * name;
//name = "Hello,World";
@property (nonatomic,strong) NSString * pic;
// pic = "Uploads/Userimg/20151225/apppic001.jpg";
@property (nonatomic,strong) NSString * url;
//url = 123456;

-(instancetype)initDic:(NSDictionary *)dic;

@end

//commendActivityModel
@interface commendActivityModel : NSObject

@property (nonatomic,strong) NSString * url;
//url = 0;
@property (nonatomic,strong) NSString * ids;
//id = 1;
@property (nonatomic,strong) NSString * pic;
//pic = "/Public/Home/sousuo/18.jpg|/Public/Home/sousuo/17.jpg|/Public/Home/sousuo/16.png|/Public/Home/sousuo/15.jpg|/Public/Home/sousuo/14.jpg|/Public/Home/sousuo/13.jpg|/Public/Home/sousuo/12.jpg|/Public/Home/sousuo/11.jpg|/Public/Home/sousuo/10.jpg|";
@property (nonatomic,strong) NSString * title;
//title = Welcome;

-(instancetype)initDic:(NSDictionary *)dic;

@end

//commendCompanyModel推荐企业
@interface commendModel : NSObject

@property (nonatomic,strong) NSString * code;
//code = 4686;
@property (nonatomic,strong) NSString * headpic;
//headpic = "/Uploads/Userimg/20151225/user2_logo.png";
@property (nonatomic,strong) NSString * username;
//username = "\U4f18\U4f01\U4e50\U6d3b2015";
@property (nonatomic,strong) NSString * industry;
//industry = "<null>";

@property (nonatomic,strong) NSString * Property;
//username = "\U4f18\U4f01\U4e50\U6d3b2015";
@property (nonatomic,strong) NSString * Person;
//industry = "<null>";



-(instancetype)initDic:(NSDictionary *)dic;

@end

@interface LRModel : NSObject

@property (nonatomic,strong) NSString * url;
//url = 0;
@property (nonatomic,strong) NSString * ids;
//id = 1;
@property (nonatomic,strong) NSString * pic;
//pic = "/Public/Home/sousuo/18.jpg|/Public/Home/sousuo/17.jpg|/Public/Home/sousuo/16.png|/Public/Home/sousuo/15.jpg|/Public/Home/sousuo/14.jpg|/Public/Home/sousuo/13.jpg|/Public/Home/sousuo/12.jpg|/Public/Home/sousuo/11.jpg|/Public/Home/sousuo/10.jpg|";
@property (nonatomic,strong) NSString * title;
//title = Welcome;


-(instancetype)initDic:(NSDictionary *)dic;

@end
